package com.dhl.fin.api.dto;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;

@Data
public class WeiXinCreatePayOrderDTO {

    /**
     * 支付金额，单位：分
     */
    @NotNull(message = "支付金额不能为空")
    Integer prePrice;

    /**
     * 描述
     */
    @NotEmpty(message = "描述")
    String description;

    /**
     * 今日订单统计编号，从1开始计数
     */
    @Positive @NotNull(message = "今日订单统计编号")
    Integer orderNum;

    private String expireDateTime;


}
